using System.ComponentModel;

namespace Abc.Application
{
    public class EmailSettingDto
    {
        /// <summary>
        /// SMTP服务器
        /// </summary>
        [Description("SMTP服务器")]
        public string EmailSmtpHost { get; set; }

        /// <summary>
        /// 邮件服务器Smtp端口
        /// </summary>
        [Description("邮件服务器Smtp端口")]
        public string EmailSmtpPort { get; set; }

        /// <summary>
        /// EmailUser
        /// </summary>
        [Description("EmailUser")]
        public string EmailUser { get; set; }

        /// <summary>
        /// EmailPassword
        /// </summary>
        [Description("EmailPassword")]
        public string EmailPassword { get; set; }

        /// <summary>
        /// 发送邮件来源
        /// </summary>
        [Description("发送邮件来源")]
        public string EmailFrom { get; set; }

        /// <summary>
        /// 是否包含Html代码
        /// </summary>
        [Description("是否包含Html代码")]
        public bool EmailIsHtml { get; set; }

        /// <summary>
        /// 发送者显示名
        /// </summary>
        [Description("发送者显示名")]
        public string EmailDisplayName { get; set; }

        /// <summary>
        /// 是否启用SSL加密
        /// </summary>
        [Description("是否启用SSL加密")]
        public bool EmailEnableSsl { get; set; }
    }
}